From 42583dfe9fd344a63cdbc278268d4176d4a22ec4 Mon Sep 17 00:00:00 2001 From: Emanuele Rocca Date: Fri, 12 Jan 2024 17:08:09 +0100 Subject: [PATCH] d/rules: Fix armel buildd --- debian/rules | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 543fba3d..23a7a03b 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,12 @@ #export DH_VERBOSE=1 # export DEB_BUILD_MAINT_OPTIONS = hardening=+pie -export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto +ifeq ($(DEB_TARGET_ARCH),armel) + # https://lists.debian.org/debian-arm/2024/01/msg00031.html + export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-stackclash optimize=+lto +else + export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto +endif # needed for the tests export DCMDICTPATH=$(CURDIR)/dcmdata/data/dicom.dic -- 2.30.2